pp108 : getSystemStyle Method

getSystemStyle Method


This method retrieves the default SystemStyle that is currently applied on all loaded applications (SystemStyle).

Syntax

styleID.getSystemStyle()

Return Value


Returns a string that denotes the current SystemStyle.

Remarks


System styles is the style that is taken from the Web server directly as a .css file. This will be applied for all the Process Platform applications running in the browser. For running system style, the style daemon is not necessary.

Example


The following example demonstrates the usage of the method.

<!-- style definition --> <div cordysType="wcp.library.ui.Style" id="style" ></div> <!-- Method invocation --> <input type="button" value="Get System Style" onclick="application.notify('System Style : ' + style.getSystemStyle()">

See Also


style